﻿using GWSoft.Framework.Core.Services;
using GWSoft.Framework.WebSite.IRepositories;
using GWSoft.Framework.WebSite.IServices;
using GWSoft.Framework.WebSite.Models;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace GWSoft.Framework.WebSite.Services
{
    public class AccountService : BaseService<UserInfo, string>, IAccountService
    {
        public AccountService(IAccountRepository repository) : base(repository)
        {
        }

        public IList<UserInfo> GetByCache(Expression<Func<UserInfo, bool>> where = null)
        {
            return Get(where);
        }
    }
}
